<template>
    <view class="big-box">
        <div v-for="(item,index) in detailData.enterpriseCard" :key="index">
            <div class="cardName">{{item.cardName}}</div>
            <div class="cardBox" v-for="(card,indexcard) in item.cardFile.split(',')" :key="indexcard">
                <image class="card" :src='card' mode='widthFix'></image>
            </div>
        </div>
    </view>
</template>
<!-- 用户名，身份证，手机号，密码，校验码，短信验证 -->
<script>
// import Validate from '../../utils/tools/validate.js'

export default {
    data() {
        return {
            detailData: {}
        }
    },
    onReady() {

    },
    onLoad() {
        this.systemInfoCodeM()
    },
    methods: {

        // 获取图片验证码
        systemInfoCodeM() {
            this.$asynApi.systemInfoCode('新城2024000007').then(val => {
                console.log(val);
                this.detailData = val.data
                uni.setNavigationBarTitle({
                    title: this.detailData.enterpriseName
                });
                // this.captchaSrc = val.data
            })
        },

    }
}
</script>

<style scoped lang="less">
.cardName {
    padding: 40rpx;
    text-align: center;
    font-size: 40rpx;
}
.cardBox{
    padding: 0rpx 40rpx 40rpx 40rpx ;
}
.card {
    // padding: 20rpx;
    margin-bottom: 20rpx;
    width: 100% !important;
    // height: auto !important;
}
</style>